Optimal. Leaf size=16 \[ a x-\frac{b \cos (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0080893, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {2638} \[ a x-\frac{b \cos (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2638
Rubi steps
\begin{align*} \int (a+b \sin (e+f x)) \, dx &=a x+b \int \sin (e+f x) \, dx\\ &=a x-\frac{b \cos (e+f x)}{f}\\ \end{align*}
Mathematica [A] time = 0.0061895, size = 27, normalized size = 1.69 \[ a x+\frac{b \sin (e) \sin (f x)}{f}-\frac{b \cos (e) \cos (f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 17, normalized size = 1.1 \begin{align*} ax-{\frac{b\cos \left ( fx+e \right ) }{f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.20874, size = 22, normalized size = 1.38 \begin{align*} a x - \frac{b \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.55251, size = 38, normalized size = 2.38 \begin{align*} \frac{a f x - b \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.139284, size = 19, normalized size = 1.19 \begin{align*} a x + b \left (\begin{cases} - \frac{\cos{\left (e + f x \right )}}{f} & \text{for}\: f \neq 0 \\x \sin{\left (e \right )} & \text{otherwise} \end{cases}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24348, size = 23, normalized size = 1.44 \begin{align*} a x - \frac{b \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]